//
//  JSTabButton.h
//
//  Created by James Addyman on 29/04/2010.
//  Copyright 2010 JamSoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface JSTabButton : UIButton {
    
	BOOL _toggled;
	
	UIImage *_normalBg;
	UIImage *_highlightedBg;
    UILabel *bottomLabel;
    UIColor *normalColor;
    UIColor *selectColor;
}

@property (nonatomic, getter=isToggled) BOOL toggled;

@property (nonatomic, retain) UIImage *normalBg;
@property (nonatomic, retain) UIImage *highlightedBg;
@property (nonatomic, retain) UILabel *bottomLabel;
@property (nonatomic, retain) UIColor *normalColor;
@property (nonatomic, retain) UIColor *selectColor;


+ (JSTabButton *)tabButtonWithTitle:(NSString *)string color:(UIColor*)color textColor:(UIColor*)textColor;

+ (JSTabButton *)tabButtonCustomWithTitle:(NSString *)string color:(UIColor*)color textColor:(UIColor*)textColor selectedColor:(UIColor*)selectedColor textFont:(UIFont*)textFont height:(int)height;
@end
